using System.Web.Mvc;
using ZQNB.Common.Web;

namespace ZQNB.Web.Areas.Setup
{
    public class SetupAreaRegistration : NbAreaRegistration
    {
        public override string AreaName
        {
            get { return "Setup"; }
        }

        public override int Order
        {
            get { return 10; }
        }

        protected override void RegisterRoutes(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Setup_default",
                "Setup/{controller}/{action}/{id}",
                new { area ="Setup", controller = "Home", action = "Index", id = UrlParameter.Optional }
            );
        }

        protected override void RegisterBundles()
        {
        }
    }
}